/*******************************************************************/
/* @ All Rights Reserved Copyright (C) 2014 broada,Co.,Ltd.        */
/*                                                                 */
/*  NAME      = frssl_task_do.h                                    */
/*  NOTE      = dssl分配任务                                       */
/*  DATE      = 2016/04/06                                         */
/*******************************************************************/

#ifndef __FRSSL_TASK_DO_H_
#define __FRSSL_TASK_DO_H_

#include "frssl_daq.h"

#define APM_DSSL_DEBUG       0

typedef struct __ssl_thread {
    ssl_option st_option;
    char *p_encode;
    int i_encode_len;
} Frssl_thread;

unsigned long frssl_task_list_count(void);
int frssl_task_add(u_char * p_packet, DAQ_PktHdr_t *header);
void *frssl_task_do(void *arg);
int frssl_task_done(void);
int frtask_info_init(void);
void frtask_info_exit(void);

#endif
